Fix cairo clipping to client side windows
authorAlexander Larsson <alexl@redhat.com>
Tue, 25 Aug 2009 13:43:52 +0000 (15:43 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 25 Aug 2009 13:47:09 +0000 (15:47 +0200)
commit7cc8cf2888f8a295b0f348095e818c5495523e58
treee5f097b091478f321cf8a3f492f206a8edfc3890
parentc91cb2f71a33445fa3d8cf8da214cdc0212918ed
Fix cairo clipping to client side windows

When updating the clip region on cairo context (due to window changes or
paints of different sizes) we reset the old clip region, but this was
erronously done inside a cairo_save/cairo_restore pair, which made the
reset not take effect.

This fixes bug #592263.
gdk/gdkwindow.c